﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NCAB.WF
{
    public partial class Home_ChangePassword : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Session["update"] = Server.UrlEncode(System.DateTime.Now.ToString());
            }

            if (Request.IsAuthenticated && Membership.GetUser() != null)
            {
                
            }
            else
            {
                Response.Redirect("Default.aspx");
            }
        }
        void Page_PreRender(object obj, EventArgs e)
        {
            ViewState["update"] = Session["update"];
        }
    }
}